package com.gcxy.service;

import com.gcxy.dto.Ranch.InsertDto;
import com.gcxy.dto.Ranch.RanchPageDto;
import com.gcxy.dto.Ranch.UpdateDto;
import com.gcxy.entity.Ranch;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gcxy.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wlp
 * @since 2023-12-19
 */
public interface RanchService extends IService<Ranch> {

    R getRanch(InsertDto requestBody);


    R updateRanch(UpdateDto requestBody);

    R pageRanch(RanchPageDto requestBody);

    R updateRanchState(Integer ranchId, Integer ranchState);
}
